package com.study.springBoot.module.api.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;
import java.util.HashMap;

@RestController
@RequestMapping("/api")
public class ApiHomeController {

    @RequestMapping("")
    public Map index() {
        Map map = new HashMap();
        map.put("name", "ken");
        return map;
    }
}
